package com.zero.yygh.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zero.yygh.model.order.OrderInfo;
import com.zero.yygh.vo.order.OrderCountQueryVo;
import com.zero.yygh.vo.order.OrderCountVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zero
 * @desc 订单Mapper
 * @create 2021/5/8
 */
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

    /**
     * 查询点单数量
     * @author zero
     * @date 2021/5/12 14:39
     * @param orderCountQueryVo  查询订单条件
     * @return java.util.List<com.zero.yygh.vo.order.OrderCountVo>
     */
    List<OrderCountVo> selectOrderCount(@Param("vo") OrderCountQueryVo orderCountQueryVo);

}
